#pragma once

// #define CONV(ptr) ((struct sockaddr*)(ptr)) //Socket.hpp定义过了，选择给他拿掉
#define CONV(sock_ptr) ((struct sockaddr *)(sock_ptr))

enum
{
    socket_err = 1,
    bind_err,
    listen_err,
    usage_err,
    div_err,
    mod_err,
    oper_err,
    epoll_create_err
};